home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / ODF / OS / FWGraphx / Include / FWScrCon.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-08  |  1.4 KB  |  59 lines  |  [TEXT/MPS ]

  1. #ifndef FWSCRCON_H
  2. #define FWSCRCON_H
  3.  
  4. //========================================================================================
  5. //
  6. //    File:                FWScrCon.h
  7. //    Release Version:    $ 1.0d11 $
  8. //
  9. //    Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //========================================================================================
  12.  
  13. #ifndef FWGROBJ_H
  14. #include "FWGrObj.h"
  15. #endif
  16.  
  17. #ifndef FWGC_H
  18. #include "FWGC.h"
  19. #endif
  20.  
  21. #if FW_LIB_EXPORT_PRAGMAS
  22. #pragma lib_export on
  23. #endif
  24.  
  25. //========================================================================================
  26. //    Forward Class Declarations
  27. //========================================================================================
  28.  
  29. class FW_CLASS_ATTR FW_CScreenContext;
  30. class FW_CLASS_ATTR FW_CGraphicDevice;
  31.  
  32. //========================================================================================
  33. //    class FW_CScreenContext
  34. //========================================================================================
  35.  
  36. class FW_CLASS_ATTR FW_CScreenContext : public FW_CGraphicContext
  37. {
  38. public:
  39.     FW_CScreenContext(Environment* ev,
  40.                       ODShape* clipShape = NULL,
  41.                       ODTransform* transform = NULL);
  42.     virtual ~FW_CScreenContext();
  43.     
  44. private:
  45. #ifdef FW_BUILD_WIN
  46.     HDC fDC;
  47. #endif
  48. #ifdef FW_BUILD_MAC
  49.     CGrafPort fCGrafPort;
  50. #endif
  51.     FW_CGraphicDevice* fGraphicDevice;
  52. };
  53.  
  54. #if FW_LIB_EXPORT_PRAGMAS
  55. #pragma lib_export off
  56. #endif
  57.  
  58. #endif // FWSCRCON_H
  59.